#ifndef LEVELPLANE_H
#define LEVELPLANE_H
#include <QPixmap>
#include <QRect>
#include <Qpixmap>
#include "config.h"
#include "bullet.h"
#include "heroplane.h"
#include "light.h"

class Levelplane:public HeroPlane
{
public:
    Levelplane();
    //发射子弹
    void shoot();
    //设置飞机的位置
    void setPosition(int, int);
    //飞行资源 对象
    QPixmap m_Plane;

    //弹匣
    bullet m_bullets[BULLET_NUM];

    //发射间隔记录
    int m_recorder;

};

#endif // LEVELPLANE_H
